<%-- 
    Document   : edit
    Created on : Jul 5, 2011, 8:14:03 PM
    Author     : Admin
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>

        <h1>Update</h1>
        <form method="post" action="UpdateServlet">
            ID <input type="hidden" name="hiddenID" value="<%=request.getParameter("id")%>"/>
            
            Name <input type="text" name="txtName"><br/>

            Password <input type="password" name="txtPassword"><br/>

            Role <input type="text" name="txtRole"><br/> (Yêu cầu chỉ nhập số)
            <input type="submit" value="Update"/>
        </form>
        <h1>Insert</h1>

        <form method="post" action="InsertServlet">
            Name <input type="text" name="txtName"><br/>

            Password <input type="password" name="txtPassword"><br/>

            Role <input type="text" name="txtRole"><br/> (Yêu cầu chỉ nhập số)
            <input type="submit" value="Add"/>
        </form>

    </body>
</html>
